+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
+ * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+ in case of show_tabs == NULL
+
Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
}
}
- if (!notebook->focus_tab)
+ if (!notebook->show_tabs || !notebook->focus_tab)
return;
if (old_tab)
gtk_label_set (GTK_LABEL (page->tab_label), string);
if (notebook->menu && page->default_menu)
{
- if (GTK_IS_LABEL (page->tab_label))
- gtk_label_set (GTK_LABEL (page->menu_label), GTK_LABEL (page->tab_label)->label);
+ if (page->tab_label && GTK_IS_LABEL (page->tab_label))
+ gtk_label_set (GTK_LABEL (page->menu_label),
+ GTK_LABEL (page->tab_label)->label);
else
gtk_label_set (GTK_LABEL (page->menu_label), string);
}